//
//  UIDevice+LZHardware.h
//  LZBaseDeviceSDK_Example
//
//  Created by panfei mao on 2019/1/7.
//  Copyright © 2019 panfei mao. All rights reserved.
//


NS_ASSUME_NONNULL_BEGIN

@interface UIDevice (LZHardware)

+ (NSString *)lz_platform;
+ (NSString *)lz_platformString;
+ (NSString *)lz_macAddress;

//Return the current device CPU frequency
+ (NSUInteger)lz_cpuFrequency;
// Return the current device BUS frequency
+ (NSUInteger)lz_busFrequency;
//current device RAM size
+ (NSUInteger)lz_ramSize;
//Return the current device CPU number
+ (NSUInteger)lz_cpuNumber;
//Return the current device total memory

/// 获取iOS系统的版本号
+ (NSString *)lz_systemVersion;
/// 判断当前系统是否有摄像头
+ (BOOL)lz_hasCamera;
/// 获取手机内存总量, 返回的是字节数
+ (NSUInteger)lz_totalMemoryBytes;
/// 获取手机内存总量, 返回的是字符串
+ (NSString *)lz_totalMemoryString;
/// 获取手机可用内存, 返回的是字节数
+ (NSUInteger)lz_freeMemoryBytes;

/// 获取手机硬盘空闲空间, 返回的是字节数
+ (long long)lz_freeDiskSpaceBytes;
/// 获取手机硬盘总空间, 返回的是字节数
+ (long long)lz_totalDiskSpaceBytes;

/** 获取手机电量 */
+ (NSString *)lz_getBatteryQuantity;
/** 手机是否充电 */
+ (BOOL)lz_isBatteryCharge;
/** 查看手机是否越狱 */
+ (BOOL)lz_isJailbroken;

@end

NS_ASSUME_NONNULL_END
